Pipes
└─Windows
public class Windows
extends Pipes
| Fields inherited from think\process\pipes\Pipes | |
|---|---|
| pipes | |
| Constructor Summary | |
|---|---|
| void | __construct(mixed disableOutput, mixed input) |
| Method Summary | |
|---|---|
| array | 返回用于 proc_open 描述符的数组 |
| string[] | getFiles() 返回一个数组的索引由其相关的流,以防这些管道使用的临时文件的文件名。 |
| string[] | readAndWrite(bool blocking, bool close) 文件句柄和管道中读取数据。 |
| bool | areOpen() 返回当前状态如果有打开的文件句柄或管道。 |
| void | close() {@inheritdoc} |
| static self | create(Process process, $input input) 创建一个新的 WindowsPipes 实例。 |
| Methods inherited from think\process\pipes\Pipes | |
|---|---|
| areOpen, close, getDescriptors, getFiles, hasSystemCallBeenInterrupted, readAndWrite, unblock | |
public void __construct(mixed disableOutput, mixed input)
public array getDescriptors()
返回用于 proc_open 描述符的数组
public string[] getFiles()
返回一个数组的索引由其相关的流,以防这些管道使用的临时文件的文件名。
public string[] readAndWrite(bool blocking, bool close)
文件句柄和管道中读取数据。
public bool areOpen()
返回当前状态如果有打开的文件句柄或管道。
public void close()
{@inheritdoc}
public static self create(Process process, $input input)
创建一个新的 WindowsPipes 实例。